-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: split stages in categories #25112
Conversation
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
/test |
/test |
4 similar comments
/test |
/test |
/test |
/test |
Why does the lint phase take that many workers? |
The linting was split to run specifically per beat, therefore there are 21 lint stages in total defined in each This is not something new but something that was added last year -> #22103 We could move away from this approach and use the previous behaviour, aka What do you think? |
the old checkout takes 15 min always, launch the lint in parallel will launch 21 workers only if you modify libbeat or something build everything is the worst case, fo one beat will launch 1-2 and take 5 min or less, I think that worth the quick feedback on linting. |
/test |
Let's keep it for now then. We should keep this one in mind, in case we need to 'optimize' more. Hm, this makes me wonder if:
|
I raised #25257 to keep track of the previous conversation |
(cherry picked from commit f4c570b)
(cherry picked from commit f4c570b)
(cherry picked from commit f4c570b) # Conflicts: # x-pack/metricbeat/Jenkinsfile.yml # x-pack/osquerybeat/Jenkinsfile.yml
What does this PR do?
Split the pipeline in four meta-stages:
linting
-> requires workers for each merge commit (branches)build/test
for the core platforms (linux, windows-2019 and arm) -> requires workers for each merge commit (branches)build/test
for the extended platforms (windows <=2016, macOS) -> requires workers for each merge commit (branches)packaging
-> requires workers for each merge commit (branches)Why is it important?
Potentially, this will reduce the CI load by provisioning less number of workers in parallel, which at the moment is causing issues with timeouts. This should help to smooth the required CI workers in batches and affecting a bit less the other pipelines.
Issues
Superseedes #24790
UI
If failures in one of the stages in the
build/test
meta-stageIf no failures but caching the linting: